using System;
using System.Data;
using Microsoft.ApplicationBlocks.Data;

namespace shfa.snomtastic.data
{
    public partial class SqlDataProvider
    {


        public DataRow SelectPhoneByMacAddress(string macAddress)
        {
            DataSet ds = SqlHelper.ExecuteDataset(ConnectionString, "sp_PhoneSelectByMacAddress", macAddress);
            if (ds.Tables.Count > 0)
                if (ds.Tables[0].Rows.Count > 0)
                    return ds.Tables[0].Rows[0];

            return null;
        }

    }

}
